<div class="tabbedpane container uicomponent" id="<?php echo $this->id; ?>">
	<h1><?php echo $this->title; ?></h1>
	<ul class="tabslist">
<?php foreach ( $this->getAllChildren() as $i=>$child ): ?>
		<li><span class="ajax<?php if ( $i == 0 ): echo ' active'; endif; ?>" onclick="TabbedPane.tab('<?php echo $this->id; ?>', '<?php echo $child->id; ?>', <?php echo $i; ?>);" title="Switch to &ldquo;<?php echo $child->title; ?>&rdquo;"><?php echo $child->title; ?></span></li>
<?php endforeach; ?>
	</ul>
	<div class="content">
	<?php $this->getChildAt(0)->render(); ?>
	</div>
</div>